extract unique items from a list